package com.meowcook.pojo.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28792
 * Date: 2025-05-14
 * Time: 11:24
 */
@ApiModel("食谱详情页用户信息")
@Data
public class UserPartIIVO {
    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    @ApiModelProperty(value = "头像地址")
    private String avatarUrl;

    @ApiModelProperty(value = "用户发布菜谱数量")
    private Integer recipeCount;

    @ApiModelProperty(value = "用户粉丝数量")
    private Integer fansCount;

    @ApiModelProperty(value = "用户是否是管理员，0-否，1-是")
    private Byte isAdmin;

    @ApiModelProperty(value = "用户简介")
    private String bio;
}
